projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12c223
)
Free more nodes on the tree when we nuke a tag. Approved by Ron.
author
robertl
<robertl>
Thu, 17 Apr 2003 05:12:11 +0000
(
05:12
+0000)
committer
robertl
<robertl>
Thu, 17 Apr 2003 05:12:11 +0000
(
05:12
+0000)
gpx.c
patch
|
blob
|
history
diff --git
a/gpx.c
b/gpx.c
index 6460378a41d59bb93e735ef50d69a79ad1aee762..636ed600b82ac8def786675ee493bf551cd1bb32 100644
(file)
--- a/
gpx.c
+++ b/
gpx.c
@@
-881,6
+881,12
@@
void free_gpx_extras( xml_tag *tag )
if (tag->parentcdata) {
xfree(tag->parentcdata);
}
+ if (tag->tagname) {
+ xfree(tag->tagname);
+ }
+ if (tag->attributes) {
+ xfree(tag->attributes);
+ }
next = tag->sibling;
xfree(tag);
tag = next;